package com.maiji.cloud.entities.login;

import com.baomidou.mybatisplus.annotations.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "food_material_type_lable")
public class FoodMaterialTypeLable {
	
	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId; //主键
	
	@Column(name = "name", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String name; //标签名字
	
	@Column(name = "parent_id", type = MySqlTypeConstant.VARCHAR, length = 50,defaultValue = "0")
	private String parentId; //父级id

}
